interface IKun {
  name: string
  age: number
  slogan?: string
}

// 过滤属性
type Ikun1 = Omit<IKun, "slogan">

type HYOmit<T, K extends keyof T> = {
  [P in keyof T as P extends K ? never : P]: T[P]
}

type Ikun2 = HYOmit<IKun, "slogan">


export { }